<!DOCTYPE html>

















































<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

  <meta name="description" content="Javadoc API documentation for Gimlet." />

<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" />
<title>

  DefaultingMaps


| Gimlet

</title>
<link href="../../../../../assets/doclava-developer-docs.css" rel="stylesheet" type="text/css" />
<link href="../../../../../assets/customizations.css" rel="stylesheet" type="text/css" />
<script src="../../../../../assets/search_autocomplete.js" type="text/javascript"></script>
<script src="../../../../../assets/jquery-resizable.min.js" type="text/javascript"></script>
<script src="../../../../../assets/doclava-developer-docs.js" type="text/javascript"></script>
<script src="../../../../../assets/prettify.js" type="text/javascript"></script>
<script type="text/javascript">
  setToRoot("../../../../", "../../../../../assets/");
</script>
<script src="../../../../../assets/doclava-developer-reference.js" type="text/javascript"></script>
<script src="../../../../../assets/navtree_data.js" type="text/javascript"></script>
<script src="../../../../../assets/customizations.js" type="text/javascript"></script>
<noscript>
  <style type="text/css">
    html,body{overflow:auto;}
    #body-content{position:relative; top:0;}
    #doc-content{overflow:visible;border-left:3px solid #666;}
    #side-nav{padding:0;}
    #side-nav .toggle-list ul {display:block;}
    #resize-packages-nav{border-bottom:3px solid #666;}
  </style>
</noscript>
</head>

<body class="">

<div id="header">
    <div id="headerLeft">
    
      <span id="masthead-title">Gimlet</span>
    
    </div>
    <div id="headerRight">
      
  <div id="search" >
      <div id="searchForm">
          <form accept-charset="utf-8" class="gsc-search-box" 
                onsubmit="return submit_search()">
            <table class="gsc-search-box" cellpadding="0" cellspacing="0"><tbody>
                <tr>
                  <td class="gsc-input">
                    <input id="search_autocomplete" class="gsc-input" type="text" size="33" autocomplete="off"
                      title="search developer docs" name="q"
                      value="search developer docs"
                      onFocus="search_focus_changed(this, true)"
                      onBlur="search_focus_changed(this, false)"
                      onkeydown="return search_changed(event, true, '../../../../')"
                      onkeyup="return search_changed(event, false, '../../../../')" />
                  <div id="search_filtered_div" class="no-display">
                      <table id="search_filtered" cellspacing=0>
                      </table>
                  </div>
                  </td>
                  <td class="gsc-search-button">
                    <input type="submit" value="Search" title="search" id="search-button" class="gsc-search-button" />
                  </td>
                  <td class="gsc-clear-button">
                    <div title="clear results" class="gsc-clear-button">&nbsp;</div>
                  </td>
                </tr></tbody>
              </table>
          </form>
      </div><!-- searchForm -->
  </div><!-- search -->
      
    </div>
</div><!-- header -->


  <div class="g-section g-tpl-240" id="body-content">
    <div class="g-unit g-first side-nav-resizable" id="side-nav">
      <div id="swapper">
        <div id="nav-panels">
          <div id="resize-packages-nav">
            <div id="packages-nav">
              <div id="index-links"><nobr>
                <a href="../../../../packages.html"  >Package Index</a> | 
                <a href="../../../../classes.html" >Class Index</a></nobr>
              </div>
              <ul>
                
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/batching/package-summary.html">com.google.gimlet.batching</a></li>
    <li class="selected api apilevel-">
  <a href="../../../../com/google/gimlet/collect/package-summary.html">com.google.gimlet.collect</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/commonality/package-summary.html">com.google.gimlet.commonality</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/inject/introspectingscoper/package-summary.html">com.google.gimlet.inject.introspectingscoper</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/inject/introspectingscoper/defaults/package-summary.html">com.google.gimlet.inject.introspectingscoper.defaults</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/inject/introspectingscoper/noop/package-summary.html">com.google.gimlet.inject.introspectingscoper.noop</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/inject/legprovider/package-summary.html">com.google.gimlet.inject.legprovider</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/inject/nestedscope/package-summary.html">com.google.gimlet.inject.nestedscope</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/inject/nestedscope/testing/package-summary.html">com.google.gimlet.inject.nestedscope.testing</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/parallel/package-summary.html">com.google.gimlet.parallel</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/reflect/package-summary.html">com.google.gimlet.reflect</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/testing/easymock/package-summary.html">com.google.gimlet.testing.easymock</a></li>
    <li class="api apilevel-">
  <a href="../../../../com/google/gimlet/testing/tl4j/package-summary.html">com.google.gimlet.testing.tl4j</a></li>
              </ul><br/>
            </div> <!-- end packages -->
          </div> <!-- end resize-packages -->
          <div id="classes-nav">
            <ul>
              
              
    <li><h2>Classes</h2>
      <ul>
          <li class="selected api apilevel-"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html">DefaultingMaps</a></li>
          <li class="api apilevel-"><a href="../../../../com/google/gimlet/collect/GimletLists.html">GimletLists</a></li>
          <li class="api apilevel-"><a href="../../../../com/google/gimlet/collect/GimletMaps.html">GimletMaps</a></li>
          <li class="api apilevel-"><a href="../../../../com/google/gimlet/collect/NonNullFieldContainer.html">NonNullFieldContainer</a></li>
      </ul>
    </li>
              
              
              
              
            </ul><br/>
          </div><!-- end classes -->
        </div><!-- end nav-panels -->
        <div id="nav-tree" style="display:none">
          <div id="index-links"><nobr>
            <a href="../../../../packages.html"  >Package Index</a> | 
            <a href="../../../../classes.html" >Class Index</a></nobr>
          </div>
        </div><!-- end nav-tree -->
      </div><!-- end swapper -->
    </div> <!-- end side-nav -->
    <script>
      if (!isMobile) {
        $("<a href='#' id='nav-swap' onclick='swapNav();return false;' style='font-size:10px;line-height:9px;margin-left:1em;text-decoration:none;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>").appendTo("#side-nav");
        chooseDefaultNav();
        if ($("#nav-tree").is(':visible')) {
          init_default_navtree("../../../../");
        } else {
          addLoadEvent(function() {
            scrollIntoView("packages-nav");
            scrollIntoView("classes-nav");
          });
        }
        $("#swapper").css({borderBottom:"2px solid #aaa"});
      } else {
        swapNav(); // tree view should be used on mobile
      }
    </script>



<div class="g-unit" id="doc-content">

<div id="api-info-block">



  
   
  
  
  
  


<div class="sum-details-links">


Summary:











  <a href="#pubmethods">Methods</a>
  



  &#124; <a href="#inhmethods">Inherited Methods</a>

&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>

</div><!-- end sum-details-links -->
<div class="api-level">
  


  
  

</div>
</div><!-- end api-info-block -->


<!-- ======== START OF CLASS DATA ======== -->

<div id="jd-header">
    public
     
    final 
    
    class
<h1>DefaultingMaps</h1>



  
    extends <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a><br/>
  
  
  

  
  
  


</div><!-- end header -->

<div id="naMessage"></div>

<div id="jd-content" class="api apilevel-">
<table class="jd-inheritance-table">


    <tr>
         	
        <td colspan="2" class="jd-inheritance-class-cell"><a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">java.lang.Object</a></td>
    </tr>
    

    <tr>
        
            <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
         	
        <td colspan="1" class="jd-inheritance-class-cell">com.google.gimlet.collect.DefaultingMaps</td>
    </tr>
    

</table>







<div class="jd-descr">


<h2>Class Overview</h2>
<p>Provides convenience methods to create maps that use a default value when
 no value exists for a given key.</p>





</div><!-- jd-descr -->
















<div class="jd-descr">


<h2>Summary</h2>



























<!-- ========== METHOD SUMMARY =========== -->
<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>



	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/concurrent/atomic/AtomicBoolean.html">AtomicBoolean</a>&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newAtomicBooleanValuedMap(java.lang.Boolean)">newAtomicBooleanValuedMap</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Boolean.html">Boolean</a> initialDefaultValue)</nobr>
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/concurrent/atomic/AtomicInteger.html">AtomicInteger</a>&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newAtomicIntValuedMap()">newAtomicIntValuedMap</a></span>()</nobr>
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/concurrent/atomic/AtomicLong.html">AtomicLong</a>&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newAtomicLongValueMap()">newAtomicLongValueMap</a></span>()</nobr>
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K1,&nbsp;K2,&nbsp;V&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K1,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K2,&nbsp;V&gt;&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newDoubleKeyedDefaultingValueMap(com.google.common.base.Function<K2, V>)">newDoubleKeyedDefaultingValueMap</a></span>(Function&lt;K2,&nbsp;V&gt; defaultingFunction)</nobr>
        
        <div class="jd-descrdiv">Returns a "double-keyed" map that uses the given defaulting function to set
 values.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K1,&nbsp;K2,&nbsp;V&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K1,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K2,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt;&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newDoubleKeyedListValuedMap()">newDoubleKeyedListValuedMap</a></span>()</nobr>
        
        <div class="jd-descrdiv">Returns a "double-keyed" map that uses a <code>ArrayList</code> as a default
 value.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K1,&nbsp;K2,&nbsp;V&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K1,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K2,&nbsp;V&gt;&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newDoubleKeyedValueMap()">newDoubleKeyedValueMap</a></span>()</nobr>
        
        <div class="jd-descrdiv">Returns a "double-keyed" map that allows one to have an empty map as a
 default value for the outer map.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K1,&nbsp;K2,&nbsp;V&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K1,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K2,&nbsp;V&gt;&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newExistingUniqueKeyMapValuedMap()">newExistingUniqueKeyMapValuedMap</a></span>()</nobr>
        
        <div class="jd-descrdiv">Returns a "double-keyed" map that allows one to have an empty map as a
 default value for the outer map.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K,&nbsp;V&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newListValuedMap()">newListValuedMap</a></span>()</nobr>
        
        <div class="jd-descrdiv">Returns a map that uses an <code>ArrayList</code> as a default value.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K,&nbsp;V&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newListValuedMap(java.util.Map<K, java.util.List<V>>)">newListValuedMap</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt; originalMap)</nobr>
        
        <div class="jd-descrdiv">Converts the map into a defaulting map that uses an <code>ArrayList</code> as a
 default value.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K,&nbsp;V&gt;
            ImmutableMap&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newSeededListValuedMap(java.util.Set<K>)">newSeededListValuedMap</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Set.html">Set</a>&lt;K&gt; keys)</nobr>
        
        <div class="jd-descrdiv">Takes a set of keys, and puts them as keys into a immutable map with an
 empty list as the value for the key.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K,&nbsp;V&gt;
            ImmutableMap&lt;K,&nbsp;V&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newSeededMap(java.util.Set<K>, com.google.common.base.Function<K, V>)">newSeededMap</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Set.html">Set</a>&lt;K&gt; keys, Function&lt;K,&nbsp;V&gt; function)</nobr>
        
        <div class="jd-descrdiv">Takes a set of keys, and puts them as keys into a immutable map using the
 provided function to create as the value for the key.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K,&nbsp;V&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Set.html">Set</a>&lt;V&gt;&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newSetValuedMap()">newSetValuedMap</a></span>()</nobr>
        
        <div class="jd-descrdiv">Returns a map that uses a <code>HashSet</code> as a default value.</div>
  
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            static
            &lt;K1,&nbsp;K2,&nbsp;K3,&nbsp;V&gt;
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K1,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K2,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K3,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt;&gt;&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../../com/google/gimlet/collect/DefaultingMaps.html#newTripleKeyedListValuedMap()">newTripleKeyedListValuedMap</a></span>()</nobr>
        
        <div class="jd-descrdiv">Returns a "triple-keyed map" that uses a <code>ArrayList</code> as a default
 value.</div>
  
  </td></tr>



</table>







<!-- ========== METHOD SUMMARY =========== -->
<table id="inhmethods" class="jd-sumtable"><tr><th>
  <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
  <div style="clear:left;">Inherited Methods</div></th></tr>


<tr class="api apilevel-" >
<td colspan="12">
  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
          ><img id="inherited-methods-java.lang.Object-trigger"
          src="../../../../../assets/images/triangle-closed.png"
          class="jd-expando-trigger-img" /></a>
From class

  <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">java.lang.Object</a>

<div id="inherited-methods-java.lang.Object">
  <div id="inherited-methods-java.lang.Object-list"
        class="jd-inheritedlinks">
  </div>
  <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
    <table class="jd-sumtable-expando">
    


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            
            
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a></nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">clone</span>()</nobr>
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            
            
            boolean</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">equals</span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a> arg0)</nobr>
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            
            
            void</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">finalize</span>()</nobr>
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            final
            
            
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Class.html">Class</a>&lt;?&gt;</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">getClass</span>()</nobr>
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            
            
            int</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">hashCode</span>()</nobr>
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            final
            
            
            void</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">notify</span>()</nobr>
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            final
            
            
            void</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">notifyAll</span>()</nobr>
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            
            
            
            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a></nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">toString</span>()</nobr>
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            final
            
            
            void</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">wait</span>()</nobr>
        
  </td></tr>


	 
    <tr class=" api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            final
            
            
            void</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
        
  </td></tr>


	 
    <tr class="alt-color api apilevel-" >
        <td class="jd-typecol"><nobr>
            
            
            final
            
            
            void</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad">wait</span>(long arg0)</nobr>
        
  </td></tr>


</table>
  </div>
</div>
</td></tr>


</table>


</div><!-- jd-descr (summary) -->

<!-- Details -->








<!-- XML Attributes -->


<!-- Enum Values -->


<!-- Constants -->


<!-- Fields -->


<!-- Public ctors -->



<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- Protected ctors -->



<!-- ========= METHOD DETAIL ======== -->
<!-- Public methdos -->

<h2>Public Methods</h2>



<A NAME="newAtomicBooleanValuedMap(java.lang.Boolean)"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/concurrent/atomic/AtomicBoolean.html">AtomicBoolean</a>&gt;
      </span>
      <span class="sympad">newAtomicBooleanValuedMap</span>
      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Boolean.html">Boolean</a> initialDefaultValue)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p></p></div>

    </div>
</div>


<A NAME="newAtomicIntValuedMap()"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/concurrent/atomic/AtomicInteger.html">AtomicInteger</a>&gt;
      </span>
      <span class="sympad">newAtomicIntValuedMap</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p></p></div>

    </div>
</div>


<A NAME="newAtomicLongValueMap()"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/concurrent/atomic/AtomicLong.html">AtomicLong</a>&gt;
      </span>
      <span class="sympad">newAtomicLongValueMap</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p></p></div>

    </div>
</div>


<A NAME="newDoubleKeyedDefaultingValueMap(com.google.common.base.Function<K2, V>)"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K1,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K2,&nbsp;V&gt;&gt;
      </span>
      <span class="sympad">newDoubleKeyedDefaultingValueMap</span>
      <span class="normal">(Function&lt;K2,&nbsp;V&gt; defaultingFunction)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Returns a "double-keyed" map that uses the given defaulting function to set
 values.
</p></div>

    </div>
</div>


<A NAME="newDoubleKeyedListValuedMap()"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K1,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K2,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt;&gt;
      </span>
      <span class="sympad">newDoubleKeyedListValuedMap</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Returns a "double-keyed" map that uses a <code>ArrayList</code> as a default
 value.
</p></div>

    </div>
</div>


<A NAME="newDoubleKeyedValueMap()"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K1,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K2,&nbsp;V&gt;&gt;
      </span>
      <span class="sympad">newDoubleKeyedValueMap</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Returns a "double-keyed" map that allows one to have an empty map as a
 default value for the outer map.
</p></div>

    </div>
</div>


<A NAME="newExistingUniqueKeyMapValuedMap()"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K1,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K2,&nbsp;V&gt;&gt;
      </span>
      <span class="sympad">newExistingUniqueKeyMapValuedMap</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Returns a "double-keyed" map that allows one to have an empty map as a
 default value for the outer map.  The inner maps that are returned are
 "unique-key" maps, which follow the contract of
 <code><a href="../../../../com/google/gimlet/collect/GimletMaps.html#newExistingUniqueKeyMap()">newExistingUniqueKeyMap()</a></code>.
</p></div>

    </div>
</div>


<A NAME="newListValuedMap()"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt;
      </span>
      <span class="sympad">newListValuedMap</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Returns a map that uses an <code>ArrayList</code> as a default value. </p></div>

    </div>
</div>


<A NAME="newListValuedMap(java.util.Map<K, java.util.List<V>>)"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt;
      </span>
      <span class="sympad">newListValuedMap</span>
      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt; originalMap)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Converts the map into a defaulting map that uses an <code>ArrayList</code> as a
 default value. Updates made to the original map, after this has been called
 will not been seen by the returned map.
</p></div>

    </div>
</div>


<A NAME="newSeededListValuedMap(java.util.Set<K>)"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        ImmutableMap&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt;
      </span>
      <span class="sympad">newSeededListValuedMap</span>
      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Set.html">Set</a>&lt;K&gt; keys)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Takes a set of keys, and puts them as keys into a immutable map with an
 empty list as the value for the key. This list is mutable so that more
 elements can be added to it.
</p></div>

    </div>
</div>


<A NAME="newSeededMap(java.util.Set<K>, com.google.common.base.Function<K, V>)"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        ImmutableMap&lt;K,&nbsp;V&gt;
      </span>
      <span class="sympad">newSeededMap</span>
      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Set.html">Set</a>&lt;K&gt; keys, Function&lt;K,&nbsp;V&gt; function)</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Takes a set of keys, and puts them as keys into a immutable map using the
 provided function to create as the value for the key.
</p></div>

    </div>
</div>


<A NAME="newSetValuedMap()"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Set.html">Set</a>&lt;V&gt;&gt;
      </span>
      <span class="sympad">newSetValuedMap</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Returns a map that uses a <code>HashSet</code> as a default value. </p></div>

    </div>
</div>


<A NAME="newTripleKeyedListValuedMap()"></A>

<div class="jd-details api apilevel-"> 
    <h4 class="jd-details-title">
      <span class="normal">
        public 
        static 
         
         
         
        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K1,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K2,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;K3,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;V&gt;&gt;&gt;&gt;
      </span>
      <span class="sympad">newTripleKeyedListValuedMap</span>
      <span class="normal">()</span>
    </h4>
      <div class="api-level">
        <div>

</div>
        
  

      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Returns a "triple-keyed map" that uses a <code>ArrayList</code> as a default
 value.
</p></div>

    </div>
</div>





<!-- ========= METHOD DETAIL ======== -->



<!-- ========= END OF CLASS DATA ========= -->
<A NAME="navbar_top"></A>

<div id="footer">
Generated by <a href="http://code.google.com/p/doclava/">Doclava</a>.
</div> <!-- end footer -->

</div> <!-- jd-content -->

</div><!-- end doc-content -->

</div> <!-- end body-content --> 

<script type="text/javascript">
init(); /* initialize doclava-developer-docs.js */
</script>

</body>
</html>
